import Vue from "vue";
import VueRouter from "vue-router";


Vue.use(VueRouter);

const routes = [
 {
  path:'/modal',
  component:()=>import('../pages/modal/container')
 },

 {
  path:'/but',
  component:()=>import('../pages/but')
 },
 {
  path:'/tab',
  component:()=>import('../pages/tab')
 },
 {
  path:'/DetailsPage',
  component:()=>import('../pages/DetailsPage')
 },
 {
  path:'/DetailsPage2/:id',
  component:()=>import('@/pages/DetailsPage/DetailsPage2')
 },
 {
  path:'/goods',
  component:()=>import('@/pages/goods')
 },
];

const router = new VueRouter({
  routes,
});

export default router;
